using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class web_pages_xoa_ntv_da_moi : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["NTDuser"] == null)
        {
            Response.Redirect("nhatuyendung.aspx");
        }

        string ma_dn = Session["NTDid"].ToString();
        string ma_ho_so_vtn = Request.QueryString["vtnid"];

        string sql = " delete from vieclamtrong_moi_du_tuyen where ma_ho_so_vlt = " + ma_dn + " and ma_ho_so_ntv = " + ma_ho_so_vtn;
        Common comm = new Common();
        comm.execNoneQuery(sql);
        Response.Redirect("nhatuyendung_moi_ntv.aspx");

    }
}
